package org.itzheng.yuezhi.base;

import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.view.Window;

/**
 * Title:<br>
 * Description: <br>
 * Company: <br>
 *
 * @author ZhengYongdong
 * @email ItZheng@ZoHo.com
 * @date 2016/6/24 0024
 */
public class BaseActivity extends FragmentActivity {
    @Override
    public void onCreate(Bundle savedInstanceState, PersistableBundle persistentState) {
        super.onCreate(savedInstanceState, persistentState);
        //去掉标题栏
        requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
    }

    /**
     * 返回键
     *
     * @param v
     */
    public void onBack(View v) {
        finish();
    }

}
